\documentclass[11pt,a4paper,twoside,onecolumn]{book}

% for pdflatex
%\usepackage[pdftex]{graphicx}
\usepackage{url}
%\usepackage{html}
\usepackage[colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue,filecolor=urlcolor]{hyperref}
%\usepackage{colortbl}
%\usepackage{float}
\usepackage{epsfig} %,boxedminipage}
\usepackage{latexsym,amsfonts,amssymb,amstext,amsthm,float,amsmath,dsfont}
\usepackage[spanish]{babel}    
\usepackage{alltt}
\usepackage[utf8x]{inputenc}
\usepackage{makeidx}
\usepackage{setspace}
\usepackage{colortbl}

\usepackage{listings}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Format 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\sloppy

\voffset -10 mm
\topmargin 0 mm
\headheight 10 mm
\headsep 0 mm

\textheight 236 mm

%\oddsidemargin 10 mm
%\evensidemargin 0 mm
\oddsidemargin 15 mm
\evensidemargin 4 mm

\textwidth 14 cm
\columnsep 10 mm

\input{commands.tex}

\pagestyle{plain} %each page number

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Cover, Index, Thanks, etc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\title{Bench::Test}
\author{Juan Antonio Gómez Cabo}
\date{\normalsize Julio 2008}

\makeindex

\includeonly{xs.tex}

\begin{document}
\topmargin 5pt

% PORTADA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{titlepage}
   \vspace*{0.5cm} \mbox{}
   \begin{center}
      {\Huge\bf Universidad de La Laguna}                             \\[0.5cm]
      {\LARGE Escuela Técnica Superior de Ingeniería Informática}     \\[1.5cm]
      \includegraphics[width=4cm]{images/ull.png}                     \\[1.5cm]
      {\Huge\it Proyecto Fin de Carrera}                              \\[2.5cm]
      {\Huge\bf Análisis de Rendimiento\\[0.4cm]con {\tt Bench::Test}}\\[2.5cm]
      {\Large {\bf Autor:}    Juan Antonio Gómez Cabo}                \\[0.2cm]
      {\Large {\bf Director:} Casiano Rodríguez León}                 \\[2.0cm]
      {\large La Laguna, Julio de 2008}
   \end{center}
\end{titlepage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\thispagestyle{empty}
\chapter*{}
\thispagestyle{empty}

% CERTIFICACIÓN
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
   \thispagestyle{empty}
   \cleardoublepage
   \thispagestyle{empty}
   \begin{center}
      {\Huge\bf Universidad de La Laguna}\\[0.5cm]
      {\LARGE Escuela Técnica Superior de Ingeniería Informática}\\[1.5cm]
   \end{center}
   \doublespacing
   {\large
      ~~~~~~~Los abajo firmantes certifican que han leído la memoria del proyecto
      \textbf{``Análisis de Rendimiento con Bench::Test''} realizado por el alumno
      \textbf{Juan Antonio Gómez Cabo} y, ya que cumple con los requisitos
      para un \textbf{Proyecto Fin de Carrera}, recomiendan a la \textbf{Escuela
      Técnica Superior de Ingeniería Informática} la aceptación del mismo.\\[2cm]
   }
   \begin{center}
      \begin{tabular}{p{6cm}c}
         {\large\bf Director de proyecto:} & {\it Casiano Rodríguez León }\\ \cline{2-2} \\[3cm]
         {\large\bf Lectores:}             & \mbox{}\\ \cline{2-2} \\[2cm]
                                           & \mbox{}\\ \cline{2-2} \\[2cm]
                                           & \mbox{}\\ \cline{2-2} 
      \end{tabular}
   \end{center}
   \newpage
   \thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\thispagestyle{empty}
\chapter*{}
\thispagestyle{empty}
\newpage
\thispagestyle{empty}

% DEDICATORIA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter*{A mis padres}
\thispagestyle{empty}
\vspace{4cm}
{\it
   \begin{Large}
   \begin{verse}
      \flushright 
      Por la felicidad, el cariño, el respeto,\\
      la comprensión, la educación, los valores,\\
      el apoyo, el bienestar y, por encima de todo,\\
      el amor que me brindáis cada día
   \end{verse}
   \end{Large}
}
\newpage
\thispagestyle{empty}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\thispagestyle{empty}
\chapter*{}
\thispagestyle{empty}
\newpage
\thispagestyle{empty}

\cleardoublepage
\setcounter{page}{1}


\singlespacing

\tableofcontents 
\listoffigures
%\listoftables

%%\onehalfspacing
%%\singlespacing
\parskip 3 mm



% CHAPTERS 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\part{Introducción y Objetivos}

\chapter{Introducción}
\label{chapter:introduccion}
\input{chapters/introduccion.tex}

\part{Desarrollo:\\Diseño e Implementación} 

\chapter{Diseño}
\label{chapter:disenio}
\input{chapters/disenio.tex}

\chapter{Implementación}
\label{chapter:implementacion}
\input{chapters/implementacion.tex}

\part{Casos prácticos}

\chapter{Caso práctico:\\El problema de corte bidimensional}
\label{chapter:cutting}
\input{chapters/cutting.tex}

\chapter{Caso práctico:\\Calculando el número {\Large $\pi$}}
\label{chapter:pi}
\input{chapters/pi.tex}

\singlespacing
\parskip 2 mm

\part{Apéndices}

\chapter{Login SSH automático}
\label{chapter:ssh}
\input{chapters/ssh.tex}

\chapter{CPAN. Instalación de módulos}
\label{chapter:cpan}
\input{chapters/cpan.tex}

\chapter{El módulo \texttt{GRID::Machine}}
\label{chapter:GRID-Machine}
\input{chapters/Machine.tex}

\part{Documentación}

\chapter{El módulo \texttt{Bench::Test}}
\label{chapter:Bench-Test}
\input{chapters/Test.tex}

\chapter{El módulo \texttt{Bench::Test::Base}}
\label{chapter:Bench-Test-Base}
\input{chapters/Base.tex}

\chapter{El módulo \texttt{Bench::Test::Local}}
\label{chapter:Bench-Test-Local}
\input{chapters/Local.tex}

\chapter{El módulo \texttt{Bench::Test::Remote}}
\label{chapter:Bench-Test-Remote}
\input{chapters/Remote.tex}

\chapter{El módulo \texttt{Bench::Test::View}}
\label{chapter:Bench-Test-View}
\input{chapters/View.tex}

\chapter{El módulo \texttt{Bench::Test::Entry}}
\label{chapter:Bench-Test-Entry}
\input{chapters/Entry.tex}

\chapter{El script \texttt{maketest}}
\label{chapter:maketest}
\input{chapters/maketest.tex}

\chapter{El script \texttt{createtests}}
\label{chapter:createtests}
\input{chapters/createtests.tex}

\chapter{El script \texttt{configcreate}}
\label{chapter:configcreate}
\input{chapters/configcreate.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\chapter*{}
\thispagestyle{empty}
\newpage
\thispagestyle{empty}

\chapter*{Conclusiones}
\label{chapter:conclusiones}
\input{chapters/conclusiones.tex}

\newpage
\thispagestyle{empty}

\printindex

\bibliographystyle{unsrt}
\bibliography{perl,cutting}

\end{document}
